package com.jx.medical.service;

import com.jx.medical.pojo.*;
import com.jx.medical.vo.MedicineTable;
import com.jx.medical.vo.ShowInRecord;
import com.jx.medical.vo.ShowOutRecord;

import java.util.List;

/**
 * @author jx
 * @date Created on 2020/12/4  10:32
 **/
public interface QueryService {
    List<Medicine> queryMedicine();
    List<Factory> queryFactory();
    List<Buyer> queryBuyer();
    List<ShowInRecord> getInRecord(MedicineTable medicineTable);
    List<ShowOutRecord> getOutRecord(MedicineTable medicineTable);
    int getInRecordCount(MedicineTable medicineTable);
    int getOutRecordCount(MedicineTable medicineTable);
    int queryMedicineByNameCount(MedicineTable medicineTable);
    List<Medicine> queryMedicineByName(MedicineTable medicineTable);
    int queryFactoryByNameCount(MedicineTable medicineTable);
    List<Factory> queryFactoryByName(MedicineTable medicineTable);
    int queryBuyerByNameCount(MedicineTable medicineTable);
    List<Buyer> queryBuyerByName(MedicineTable medicineTable);
    int queryUserByNameCount(MedicineTable medicineTable);
    List<User> queryUserByName(MedicineTable medicineTable);
}
